﻿/*------------------------------------------------
// File Description: IVTemp DataBase Entity
// Author:			 Crane
// Create Time:		 2020-10-15 00:51:23
//------------------------------------------------*/

using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace IOA.MES.DataAccess.Entity
{
    /// <summary>
    /// IV温度
    /// </summary>
    [Table(nameof(IVTemp))]
    public class IVTemp : BaseEntity
    {

        #region Public Property

        ///<Summary>
        /// 最低温度
        ///</Summary>
        public decimal? TempMin { get; set; }

        ///<Summary>
        /// 是否包含
        ///</Summary>
        public bool TempMinContains { get; set; }

        ///<Summary>
        /// 最高温度
        ///</Summary>
        public decimal? TempMax { get; set; }

        ///<Summary>
        /// 是否包含
        ///</Summary>
        public bool TempMaxContains { get; set; }
        #endregion
    }

    public partial class MESContext
    {
        /// <summary>
        /// 
        /// </summary>
        public virtual DbSet<IVTemp> IVTemps { get; set; }
    }
}